<?php

namespace App\Models;



class Focus extends Base
{
    protected $table = 'focus';
    protected $fillable = ['user_id', 'target_user_id'];


    public function user() {
        return $this->belongsTo(User::class, 'user_id');
    }

    public function fans() {
        return $this->belongsTo(User::class, 'user_id');
    }

    public function focus() {
        return $this->belongsTo(User::class, 'target_user_id');
    }

}
